
package com.spss.scoring.schema.v2.jaxb;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.spss.data.service.schema.jaxb.TableType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}requestInputTable" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://xml.spss.com/data}context" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attGroup ref="{http://xml.spss.com/scoring-v2}idAttributeGroup"/>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "requestInputTable",
    "context"
})
@XmlRootElement(name = "scoreRequest")
public class ScoreRequest {

    protected List<RequestInputTable> requestInputTable;
    @XmlElement(namespace = "http://xml.spss.com/data")
    protected List<TableType> context;
    @XmlAttribute(required = true)
    protected String id;

    /**
     * Gets the value of the requestInputTable property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the requestInputTable property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRequestInputTable().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link RequestInputTable }
     * 
     * 
     */
    public List<RequestInputTable> getRequestInputTable() {
        if (requestInputTable == null) {
            requestInputTable = new ArrayList<RequestInputTable>();
        }
        return this.requestInputTable;
    }

    /**
     * Context data (indirect) inputs to the model Gets the value of the context property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the context property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getContext().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TableType }
     * 
     * 
     */
    public List<TableType> getContext() {
        if (context == null) {
            context = new ArrayList<TableType>();
        }
        return this.context;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setId(String value) {
        this.id = value;
    }

}
